package designPatterns_demo.proxy_pattern.static_proxy.demo2;

public class ProxyPatternDemo {
	public static void main(String[] args) {
		Image image = new ProxyImage("test01.jpg");
		//图像将从磁盘加载
		image.display();
		System.out.println();
		//图像将无法从磁盘加载
		image.display();
	}
}
